package cn.iocoder.yudao.module.project.controller.admin.productioncode.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import com.alibaba.excel.annotation.*;

@Schema(description = "管理后台 - 成品码信息 Response VO")
@Data
@ExcelIgnoreUnannotated
public class ProductionCodeRespVO {

    @Schema(description = "成品码编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "22506")
    @ExcelProperty("成品码编号")
    private String id;

    @Schema(description = "成品名称", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @ExcelProperty("成品名称")
    private String name;

    @Schema(description = "内码编号")
    @ExcelProperty("内码编号")
    private String internalCode;

    @Schema(description = "订单编号", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("订单编号")
    private String orderCode;

    @Schema(description = "型号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("型号")
    private String type;

    @Schema(description = "成品下线时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("成品下线时间")
    private LocalDateTime downlineTime;
    private String downlineTimeStr;

    @Schema(description = "下线状态(0:未下线:1下线)")
    private Integer downlineStatus;

    @Schema(description = "操作员", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("操作员")
    private String operator;

    @Schema(description = "备注", example = "你猜")
    @ExcelProperty("备注")
    private String remark;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "关联工位ID")
    private Integer associatedWorkstationId;

    @Schema(description = "关联工位用户ID")
    private Integer associatedWorkstationUserId;
}